import socket

class Socket:
    def __init__(self,addr,port):
        self.s = socket.socket(socket.AF_INET, socket.SOCK_RAW, 255)
        self.s.setsockopt(socket.IPPROTO_IP, socket.IP_HDRINCL, 1)
        # self.s = socket.socket(socket.AF_INET,socket.SOCK_RAW)
        # self.s.setsockopt(socket.IPPROTO_TCP, socket.IP_HDRINCL, 1)

        self.addr = addr
        self.port = port
    
    def send(self,Buffer):
        self.s.sendto(Buffer,(self.addr,self.port))
        # self.s.send(Buffer)
    

if __name__ == "__main__":
    print()